﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElfTyping.Animations;

namespace ElfTyping.States.StoryState
{
    public class SetBackgroundAction : StoryAction
    {
        Animation Background;

        public SetBackgroundAction(StoryState storyState, Animation background)
            : base(storyState)
        {
            Background = background;
        }

        public override void OnEnd()
        {
            StoryState.Background = Background;

            base.OnEnd();
        }
    }
}
